﻿Imports System
Imports System.Text

Namespace ItalloVilardo.Dominio

    <Serializable()> _
    Public Class Pedido

        Private _id As Nullable(Of Long)
        Public Property Id() As Nullable(Of Long)
            Get
                Return _id
            End Get
            Set(ByVal value As Nullable(Of Long))
                _id = value
            End Set
        End Property

        Private _datapedido As DateTime
        Public Property DataPedido() As DateTime
            Get
                Return _datapedido
            End Get
            Set(ByVal value As DateTime)
                _datapedido = value
            End Set
        End Property

        Private _listaitenspedido As List(Of ItemPedido)
        Public Property ListaItensPedido() As List(Of ItemPedido)
            Get
                Return _listaitenspedido
            End Get
            Set(ByVal value As List(Of ItemPedido))
                _listaitenspedido = value
            End Set
        End Property

        Private _aprovado As Boolean
        Public Property Aprovado() As Boolean
            Get
                Return _aprovado
            End Get
            Set(ByVal value As Boolean)
                _aprovado = value
            End Set
        End Property

        Private _dataaprovacao As DateTime
        Public Property DataAprovacao() As DateTime
            Get
                Return _dataaprovacao
            End Get
            Set(ByVal value As DateTime)
                _dataaprovacao = value
            End Set
        End Property


    End Class

End Namespace
